package com.sq.partner.manager.dao;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.sq.partner.manager.mybatis.model.TradProdProp;



/**
 *  电子保单配置
 * @author menyanlei
 *
 */
public interface TradProdPropDao extends BaseDao{
	
	/**导出产品保单配置查询*/
 	public  List<Map<String, Object>>  impNlifeProp(Map<String, Object> map)throws SQLException;
 	/**导出产品电子保单财险*/
 	public List<Map<String, Object>>  impNocarProp(Map<String, Object> map)throws SQLException;
 	//新增电子保单模板
 	public  boolean addProdProp(TradProdProp tradProdProp) throws Exception;
 	//更新电子保单模板
 	public Integer updateProdProp(TradProdProp tradProdProp) throws Exception;
 	/**删除*/
 	public boolean deleteProdProp(String prodCode) throws Exception;
 	
 	//激活卡激活
 	/**
     * 根据产品号查询产品订制属性
     * @param tradProdCode
     * @return
     * @throws Exception
     */
    public List<TradProdProp> queryTradProdProp(String tradProdCode) throws Exception;
}
